package com.ld.security.server.admin.modules.gl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.base.column.ListJson;
import com.ld.security.common.core.base.column.MapJson;
import com.ld.security.common.mybatis.anno.LabelKeys;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.ESwitchEntity;
import com.ld.security.common.mybatis.base.entity.LabelMap;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.server.admin.modules.gl.constant.GlConfigConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("gl_config")
@ApiModel("系统配置")
@Data
public class GlConfigEntity  extends SuperEntity implements LabelMap ,ESwitchEntity
{



    @SqlKey(SqlCondition.like)
    @ApiModelProperty("工程版本")
    private String vue;

    @LabelKeys
  @SqlKey(SqlCondition.eq)
  @ApiModelProperty("状态")
  private GlConfigConstant.status status;



    @ApiModelProperty("系统图标")
    private String loginLogo;



    @ApiModelProperty("菜单图标")
    private String menuLogo;

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("系统名称")
  private String sysName;



    @SqlKey(SqlCondition.like)
    @ApiModelProperty("系统样式")
    private String sysStyle;

    @ApiModelProperty("参数配置")
    private ListJson sysConfig;

    private MapJson labelMap;


    @ApiModelProperty("登录备注")
    private String loginRemark;

    @ApiModelProperty("开关编码")
    @SqlKey(SqlCondition.eq)
    private String switchCode;

    @ApiModelProperty("开关值")
    @SqlKey(SqlCondition.eq)
    private Boolean switchValue;

}
